package com.travel.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.travel.system.common.result.ResultInfo;
import com.travel.system.entity.UserInfo;


public interface UserInfoService extends IService<UserInfo> {

    ResultInfo<String> register(UserInfo userInfo);

    ResultInfo<String> login(String username, String password);

    ResultInfo<String> updatePassword(String username, String newPwd, String oldPwd);

}
